/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package dtd.to.xml;

/**
 * Class which represents one parsed DTD Attrubute
 * @author martin
 */
public class DTDAttribute {
    private final String elementName;
    private final String attributeName;
    private final String tempOtherInfo;
    
    /**
     * Constructor
     * @param elemName name of element to which att belongs to
     * @param attName name of attribute
     * @param other  info about attribute type
     */
    public DTDAttribute(String elemName , String attName , String other ){
        elementName = elemName;
        attributeName = attName;
        tempOtherInfo = other;
    }
    /**
     * Getter for element name to which attribute belongs to
     * @return element name
     */
    public String getElementName(){
        return elementName;
    }
    /**
     * Getter for attribute name
     * @return attribute name
     */
    public String getAttributeName(){
        return attributeName;
    }
    /**
     * Getter for atribute info
     * @return atribute info
     */
    public String getOtherInfo(){
        return tempOtherInfo;
    }
}
